import { setAddTitle } from "$utils/setStatusName";

export default {
  data() {
    return {
      title: "",
    }
  },
  methods: {
    async init(options) {
      const { useFlag, key, value, id } = options
      this.title = setAddTitle(useFlag, "系统参数")
      Object.assign(this.addForm.form, {
        key, value, id
      })
    },
  }
}
